package com.tanhua.mongodbManager.service;

import com.tanhua.mongodbManager.domain.PageResult;
import com.tanhua.mongodbManager.domain.mongod.DynamicValidateForm;
import com.tanhua.mongodbManager.domain.vo.OptionsVo;

import java.util.ArrayList;
import java.util.Map;

/**
 * @ClassName -> QuestionService
 * @Description
 * @Author OHC
 * @Date 2021/8/19 星期四
 */
public interface QuestionService {

    PageResult findAllQuestion(Integer page,Integer pagesize);

    PageResult searchQuestion(Integer page, Integer pagesize, String queryQuestion);

    Long addAndModify(Map<String, Object> param);

    Long removeQuestion(String questionId);

    DynamicValidateForm editQuestion(String questionId);

    Long fixTheProblem(DynamicValidateForm dynamicValidateForm);

}
